package org.ams.log.dao;

import java.util.List;
import java.util.Map;

import org.ams.log.entity.LoginLog;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface LoginLogDao {

	void save(LoginLog loginLog);

	LoginLog queryLastLoginLogByAccountId(@Param("accountId") Integer accountId);

	Integer queryLoginCountByAccountId(@Param("accountId") Integer accountId);

	List<LoginLog> queryLoginLogListByPage(Map<String, Object> params);

}
